<template>
  <span :class="[store.audioOptions.isPaused ? 'i-mdi-play' : 'i-mdi-pause', activeBtnStyle, mobileStyle]" @click="startStop"></span>
</template>

<script setup>
import {useStore} from "@/store/index";

const store = useStore()
// 接收的样式
defineProps({
  activeBtnStyle: Array,
  mobileStyle: String
})

const $emit = defineEmits(['startStop'])
const startStop = () => {
  $emit('startStop')
}

</script>

<style scoped>

</style>
